package com.ibeetl.cms.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.cms.entity.*;

/**
 * XxdActivitie Dao
 */
@SqlResource("cms.xxdActivitie")
public interface XxdActivitieDao extends BaseMapper<XxdActivitie>{
    public PageQuery<XxdActivitie> queryByCondition(PageQuery query);
    public void batchDelXxdActivitieByIds( List<Long> ids);
    public PageQuery<XxdItem> showActivitieSelectItem(PageQuery query);
    public PageQuery<XxdItem> showBestSaleItem(PageQuery query);
    public PageQuery<XxdActivitie> queryBestByCondition(PageQuery query);
    public List<XxdItem> queryBestItems();
    public int removeBest();
}